/****************************************************************************
** Meta object code from reading C++ file 'editormanager.h'
**
** Created: Sun Apr 18 19:45:42 2010
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../editormanager/editormanager.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editormanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Core__EditorManagerPlaceHolder[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      32,   31,   31,   31, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Core__EditorManagerPlaceHolder[] = {
    "Core::EditorManagerPlaceHolder\0\0"
    "currentModeChanged(Core::IMode*)\0"
};

const QMetaObject Core::EditorManagerPlaceHolder::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Core__EditorManagerPlaceHolder,
      qt_meta_data_Core__EditorManagerPlaceHolder, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::EditorManagerPlaceHolder::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::EditorManagerPlaceHolder::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::EditorManagerPlaceHolder::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__EditorManagerPlaceHolder))
        return static_cast<void*>(const_cast< EditorManagerPlaceHolder*>(this));
    return QWidget::qt_metacast(_clname);
}

int Core::EditorManagerPlaceHolder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: currentModeChanged((*reinterpret_cast< Core::IMode*(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 1;
    }
    return _id;
}
static const uint qt_meta_data_Core__EditorManager[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
      28,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
      28,   21,   20,   20, 0x05,
      81,   65,   20,   20, 0x05,
     119,   21,   20,   20, 0x05,
     148,   21,   20,   20, 0x05,
     191,  183,   20,   20, 0x05,

 // slots: signature, parameters, type, tag, flags
     257,  233,  228,   20, 0x0a,
     279,   20,  228,   20, 0x2a,
     297,   20,   20,   20, 0x0a,
     320,   21,  228,   20, 0x0a,
     345,   20,  228,   20, 0x2a,
     356,   21,  228,   20, 0x0a,
     383,   20,  228,   20, 0x2a,
     396,   20,   20,   20, 0x0a,
     412,   20,   20,   20, 0x0a,
     426,   20,   20,   20, 0x0a,
     446,   20,   20,   20, 0x08,
     467,   20,   20,   20, 0x08,
     500,  492,   20,   20, 0x08,
     537,   20,   20,   20, 0x08,
     553,   20,   20,   20, 0x08,
     581,   20,   20,   20, 0x0a,
     609,   20,   20,   20, 0x0a,
     652,  640,   20,   20, 0x0a,
     675,   20,   20,   20, 0x0a,
     683,   20,   20,   20, 0x0a,
     701,   20,   20,   20, 0x0a,
     722,   20,   20,   20, 0x0a,
     740,   20,   20,   20, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Core__EditorManager[] = {
    "Core::EditorManager\0\0editor\0"
    "currentEditorChanged(Core::IEditor*)\0"
    "editor,fileName\0editorCreated(Core::IEditor*,QString)\0"
    "editorOpened(Core::IEditor*)\0"
    "editorAboutToClose(Core::IEditor*)\0"
    "editors\0editorsClosed(QList<Core::IEditor*>)\0"
    "bool\0askAboutModifiedEditors\0"
    "closeAllEditors(bool)\0closeAllEditors()\0"
    "openInExternalEditor()\0saveFile(Core::IEditor*)\0"
    "saveFile()\0saveFileAs(Core::IEditor*)\0"
    "saveFileAs()\0revertToSaved()\0closeEditor()\0"
    "closeOtherEditors()\0gotoNextDocHistory()\0"
    "gotoPreviousDocHistory()\0context\0"
    "handleContextChange(Core::IContext*)\0"
    "updateActions()\0makeCurrentEditorWritable()\0"
    "goBackInNavigationHistory()\0"
    "goForwardInNavigationHistory()\0"
    "orientation\0split(Qt::Orientation)\0"
    "split()\0splitSideBySide()\0"
    "removeCurrentSplit()\0removeAllSplits()\0"
    "gotoOtherSplit()\0"
};

const QMetaObject Core::EditorManager::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Core__EditorManager,
      qt_meta_data_Core__EditorManager, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::EditorManager::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::EditorManager::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::EditorManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__EditorManager))
        return static_cast<void*>(const_cast< EditorManager*>(this));
    return QWidget::qt_metacast(_clname);
}

int Core::EditorManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: currentEditorChanged((*reinterpret_cast< Core::IEditor*(*)>(_a[1]))); break;
        case 1: editorCreated((*reinterpret_cast< Core::IEditor*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: editorOpened((*reinterpret_cast< Core::IEditor*(*)>(_a[1]))); break;
        case 3: editorAboutToClose((*reinterpret_cast< Core::IEditor*(*)>(_a[1]))); break;
        case 4: editorsClosed((*reinterpret_cast< QList<Core::IEditor*>(*)>(_a[1]))); break;
        case 5: { bool _r = closeAllEditors((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { bool _r = closeAllEditors();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: openInExternalEditor(); break;
        case 8: { bool _r = saveFile((*reinterpret_cast< Core::IEditor*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: { bool _r = saveFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 10: { bool _r = saveFileAs((*reinterpret_cast< Core::IEditor*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 11: { bool _r = saveFileAs();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 12: revertToSaved(); break;
        case 13: closeEditor(); break;
        case 14: closeOtherEditors(); break;
        case 15: gotoNextDocHistory(); break;
        case 16: gotoPreviousDocHistory(); break;
        case 17: handleContextChange((*reinterpret_cast< Core::IContext*(*)>(_a[1]))); break;
        case 18: updateActions(); break;
        case 19: makeCurrentEditorWritable(); break;
        case 20: goBackInNavigationHistory(); break;
        case 21: goForwardInNavigationHistory(); break;
        case 22: split((*reinterpret_cast< Qt::Orientation(*)>(_a[1]))); break;
        case 23: split(); break;
        case 24: splitSideBySide(); break;
        case 25: removeCurrentSplit(); break;
        case 26: removeAllSplits(); break;
        case 27: gotoOtherSplit(); break;
        default: ;
        }
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void Core::EditorManager::currentEditorChanged(Core::IEditor * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Core::EditorManager::editorCreated(Core::IEditor * _t1, const QString & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Core::EditorManager::editorOpened(Core::IEditor * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Core::EditorManager::editorAboutToClose(Core::IEditor * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Core::EditorManager::editorsClosed(QList<Core::IEditor*> _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
static const uint qt_meta_data_Core__Internal__EditorClosingCoreListener[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__EditorClosingCoreListener[] = {
    "Core::Internal::EditorClosingCoreListener\0"
};

const QMetaObject Core::Internal::EditorClosingCoreListener::staticMetaObject = {
    { &ICoreListener::staticMetaObject, qt_meta_stringdata_Core__Internal__EditorClosingCoreListener,
      qt_meta_data_Core__Internal__EditorClosingCoreListener, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::EditorClosingCoreListener::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::EditorClosingCoreListener::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::EditorClosingCoreListener::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__EditorClosingCoreListener))
        return static_cast<void*>(const_cast< EditorClosingCoreListener*>(this));
    return ICoreListener::qt_metacast(_clname);
}

int Core::Internal::EditorClosingCoreListener::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ICoreListener::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
